﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bluyel.Core
{
    /// <summary>
    /// Represents a structure data instance.
    /// has members, has no specific type , its not a class instance
    /// but its like that, its has an anonymous or implicit type.
    /// </summary>
    public interface IDStruct : IDataNamed
    {
        // List of IDataNamed: Members
        IEnumerable<IDataNamed> ListData { get; }

        bool AddMember(IDataNamed data);

        bool RemoveMember(string name);

        IDataNamed FindMember(string name);
    }
}
